import axios from '../axios'

/* 
 * 首页轮播图模块
 */


// 分页查询
export const findPage = (data) => {
    return axios({
        url: '/sys/home/findPage',
        method: 'post',
        data
    })
}

// 根据用户名查找
export const findByName = (params) => {
    return axios({
        url: '/sys/home/findByName',
        method: 'get',
        params
    })
}
